#dataTableView {
    -fx-background-color: white;
}
.table-cell {
    -fx-alignment: CENTER;
}
/* 整体背景和字体 */
.root {
    -fx-font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    -fx-font-size: 14px;
    -fx-background-color: #f5f7fa;
    -fx-text-fill: #333333;
}

/* BorderPane 中心区域布局 */
.split-pane {
    -fx-background-color: white;
    -fx-background-radius: 8;
    -fx-effect: dropshadow(gaussian, rgba(0,0,0,0.1), 10, 0, 0, 0);
}

/* TableView美化 */
.table-view {
    -fx-background-color: white;
    -fx-border-color: #ddd;
    -fx-border-width: 1;
    -fx-border-radius: 6;
    -fx-background-radius: 6;
}

.table-view .column-header-background {
    -fx-border-color: transparent;
}

.table-view .column-header,
.table-view .column-header .label {
    -fx-text-fill: black;
    -fx-alignment: CENTER;
    -fx-font-weight: bold;
}

.table-view .cell:selected {
    -fx-background-color: #c9daf8;
}

/* 顶部搜索区域 */
.top GridPane {
    -fx-padding: 10 15;
    -fx-background-color: white;
    -fx-border-color: #eee;
    -fx-border-width: 0 0 1 0;
    -fx-border-style: solid;
}

/* Label */
.label {
    -fx-font-weight: 600;
    -fx-text-fill: #555;
    -fx-alignment: center-right;
    -fx-padding: 0 5 0 0;
}

/* 输入框样式 */
.text-field, .combo-box, .date-picker {
    -fx-background-color: #fafafa;
    -fx-border-color: #ccc;
    -fx-border-radius: 4;
    -fx-background-radius: 4;
    -fx-prompt-text-fill: #aaa;
}

.text-field:focused, .combo-box:focused, .date-picker:focused {
    -fx-border-color: #4a90e2;
    -fx-background-color: white;
    -fx-effect: dropshadow(gaussian, rgba(74,144,226,0.5), 3, 0, 0, 0);
}

/* Button */
.button {
    -fx-background-color: #4a90e2;
    -fx-text-fill: white;
    -fx-font-weight: bold;
    -fx-background-radius: 6;
    -fx-padding: 8 20;
    -fx-cursor: hand;
    -fx-effect: dropshadow(gaussian, rgba(0,0,0,0.15), 2, 0, 0, 1);
    -fx-transition: all 0.3s ease;
}

.button:hover {
    -fx-background-color: #357ABD;
    -fx-effect: dropshadow(gaussian, rgba(0,0,0,0.3), 4, 0, 0, 1);
}

.button:pressed {
    -fx-background-color: #2a59c8;
}

/* GridPane 内间距控制 */
.grid-pane {
    -fx-hgap: 10;
    -fx-vgap: 12;
}

/* FlowPane 按钮对齐 */
.flow-pane {
    -fx-padding: 10 0 0 0;
}

/* ComboBox 下拉箭头颜色 */
.combo-box .arrow {
    -fx-background-color: #4a90e2;
}

/* DatePicker 日期选择按钮颜色 */
.date-picker > .arrow-button {
    -fx-background-color: transparent;
}
